package com.earthchen.core.support.shiro.service.impl;

import com.earthchen.core.support.shiro.domain.Account;
import com.earthchen.core.support.shiro.service.AccountService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Service;

/**
 * 账户服务实现类
 * <p>
 * 当引用模块没有实现自己的账户提供类时使用
 *
 * @author earthchen
 * @date 2018/9/4
 **/
@Service
@ConditionalOnMissingBean(name = "accountService")
public class AccountServiceImpl implements AccountService {

    @Override
    public Account loadAccount(String appId) {
        return null;
    }

    @Override
    public boolean isAccountExistByUid(Long uid) {
        return false;
    }

    @Override
    public String loadAccountRole(String appId) {
        return null;
    }
}
